#!/bin/sh

uci -q batch <<-EOF >/dev/null
	delete ucitrack.@oscam[-1]
	add ucitrack oscam
	set ucitrack.@oscam[-1].init=oscam
	commit ucitrack
EOF


/etc/init.d/oscam stop

rm -f /tmp/luci-indexcache
exit 0
